QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# OCCT安装路径
OCCT_PATH = D:/OpenCASCADE-7.8.0-vc14-64/opencascade-7.8.0

OCCT_LIBPATH = $$OCCT_PATH/win64/vc14/libd

INCLUDEPATH += \
    $$OCCT_PATH\inc

SOURCES += \
    main.cpp \
    mainwindow.cpp \
    occtview.cpp \
    occtwindow.cpp

HEADERS += \
    mainwindow.h \
    occtview.h \
    occtwindow.h

LIBS += -L$${OCCT_LIBPATH} -lTKernel -lTKMath -lTKService -lTKV3d -lTKOpenGl \
        -lTKBRep -lTKIGES -lTKSTL -lTKVRML -lTKSTEP -lTKSTEPAttr -lTKSTEP209 \
        -lTKSTEPBase -lTKGeomBase -lTKGeomAlgo -lTKG3d -lTKG2d \
        -lTKXSBase -lTKShHealing -lTKHLR -lTKTopAlgo -lTKMesh -lTKPrim \
        -lTKCDF -lTKBool -lTKBO -lTKFillet -lTKOffset -lTKLCAF -lTKCAF -lTKVCAF \
                -lTKBin -lTKXml

# 第三方库动态库所在目录
LIBS += -L$$OCCT_PATH/../freeimage-3.17.0-vc14-64/bin  \
        -L$$OCCT_PATH/../openvr-1.14.15-64/bin/win64 \
        -L$$OCCT_PATH/../ffmpeg-3.3.4-64/bin \
        -L$$OCCT_PATH/../freetype-2.5.5-vc14-64/bin \
        -L$$OCCT_PATH/../tbb-vc14-64/bin

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
